Skip to content

gridss/assemble, gridss/call: fix BWA index symlink creation - #13716

Merged
imsarath merged 1 commit into
nf-core:masterfrom
imsarath:fix-gridss-index-symlinks
Nov 13, 2026
Merged

imsarath merged 1 commit into
nf-core:masterfrom
imsarath:fix-gridss-index-symlinks

Conversation

@imsarath

@imsarath imsarath commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

gridss/assemble and gridss/call receive bwa_index as a directory (e.g. bwa/ from bwa/index), but the symlink logic took the file extension from the input path itself. For a directory the extension is empty, so a single broken genome.fasta. link was created and none of the index files were linked to the reference basename, as GRIDSS requires.

Both modules now find the index files inside the directory and link each one as <fasta>.<ext>, matching the existing approach in gridss/preprocess. Verified in the test work directories that genome.fasta.{amb,ann,bwt,pac,sa} now point to bwa/genome.*. Existing snapshots are unchanged.

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • Remove all TODO statements.
  • Broadcast software version numbers to topic: versions - See version_topics
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda

@imsarath imsarath self-assigned this Nov 12, 2026
@imsarath
imsarath marked this pull request as ready for review November 13, 2026 09:28

@kristinebilgrav kristinebilgrav left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imsarath
imsarath added this pull request to the merge queue Nov 13, 2026
Merged via the queue into nf-core:master with commit 2632114 Nov 13, 2026
25 checks passed
@imsarath
imsarath deleted the fix-gridss-index-symlinks branch November 13, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants